package org.ru.mse10.cvis.web.model.initializer;

import org.ru.mse10.cvis.entity.cv.OtherExpirience;
import org.ru.mse10.cvis.entity.misc.DateRange;

/**
 * The Class OtherExpirienceInitializer.
 */
public class OtherExpirienceInitializer extends
		DefaultInstanceInitializer<OtherExpirience> {

	/**
	 * Instantiates a new other expirience initializer.
	 */
	public OtherExpirienceInitializer() {
		super(OtherExpirience.class);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.ru.mse10.cvis.web.model.initializer.DefaultInstanceInitializer#
	 * newInstance()
	 */
	@Override
	public OtherExpirience newInstance() {
		OtherExpirience newInstance = super.newInstance();
		newInstance.setRange(new DateRange());
		return newInstance;
	}
}
